package com.xuan.yupao.service;


import com.xuan.yupao.model.domain.User;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;


public interface FileService {


    /**
     * 更新用户头像
     * @param file
     * @param loginUser
     * @return
     */
    String uploadUserAvatar(MultipartFile file, User loginUser);

    /**
     * 更新队伍头像
     * @param file
     * @param loginUser
     * @return
     */
    String uploadTeamAvatar(MultipartFile file, User loginUser, Long teamId);
}
